package com.smartbands.wechat.controller;

import com.smartbands.common.entity.UserInfo;
import com.smartbands.common.result.Response;
import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author mtf
 * @create 2021-01-28-15:10
 */
@RestController
@RequestMapping("/test")
@Slf4j
public class TestController {
//    @Autowired
//    private UserInfoService userInfoService;
    @RequestMapping("/get/{id}")
    @ResponseBody
    public Response<UserInfo> get(@PathVariable int id){
        log.info("============================");
        return null;
    }


}
